package com.song.osclient.bean;


import com.song.osclient.R;
import com.song.osclient.fragment.ExploreFragment;
import com.song.osclient.fragment.MyFragment;
import com.song.osclient.fragment.NewsViewPagerFragment;
import com.song.osclient.fragment.TweetsViewPagerFragment;

public class MainTab {
    public static MainTab[] tabs = {
            new MainTab("100", "综合", NewsViewPagerFragment.class, R.mipmap.ic_launcher,0),
            new MainTab("101", "动弹", TweetsViewPagerFragment.class, R.mipmap.ic_launcher,1),
            new MainTab("102", "",null , 0,2),
            new MainTab("103", "发现", ExploreFragment.class, R.mipmap.ic_launcher,3),
            new MainTab("104", "我", MyFragment.class, R.mipmap.ic_launcher,4),
    };

    private String tag;

    private String title;

    private Class contentClass;
    private int drawable;
    private int index;
    public MainTab(String tag, String title, Class contentClass, int drawable, int index) {
        this.tag = tag;
        this.title = title;
        this.contentClass = contentClass;
        this.drawable = drawable;
        this.index = index;
    }

    public int getDrawable() {
        return drawable;
    }

    public Class getContentClass() {
        return contentClass;
    }

    public String getTag() {
        return tag;
    }

    public String getTitle() {
        return title;
    }

    public int getIndex() {
        return index;
    }
}
